<?php
/**
 * datasource => The name of a supported datasource; valid options are as follows:
 *		Database/Mysql 		- MySQL 4 & 5,
 *		Database/Sqlite		- SQLite (PHP5 only),
 *		Database/Postgres	- PostgreSQL 7 and higher,
 *		Database/Sqlserver	- Microsoft SQL Server 2005 and higher
 *
 * persistent => true / false
 * host =>
 * prefix => 
 * schema =>     //Postgres defaults to 'public'.
 * encoding =>   // For MySQL, Postgres specifies the character encoding
 * unix_socket => //For MySQL to connect via socket specify the `unix_socket` parameter instead of `host` and `port`
 **/

class DATABASE_CONFIG {
    public $maestro_desarrollo = array(
            'datasource' => 'Database/Postgres',
            'persistent' => false,
            'host' => '192.168.65.165',
            'login' => 'admin',
            'password' => 'j5d1j5',
            'database' => 'punto_maestro',
            'prefix' => '',
            //'schema' => '',
            'port' => '5433'
    );

    public $punto = array(
        'datasource'=>'Database/Postgres',
        'prefix' => '',
        'encoding' => 'utf8',
        'tipo' => 'punto'
    );
    
    public $punto_maestros = array(
        'datasource'=>'Database/Postgres',
        'prefix' => '',
        'encoding' => 'utf8',
        'tipo' => 'punto_maestros'
    );
    
    public $cobranzas = array(
        'datasource'=>'Database/Postgres',
        'prefix' => '',
        'encoding' => 'utf8',
        'tipo' => 'punto_maestros',
        'schema' => 'cobranzas'
    );

	public 	$seguridad = array(CnA_=>CnB_,CnC_=>BD1_);
	public 	$auditoria = array(CnA_=>CnB_,CnC_=>BD2_);
	public 	$maestros =  array(CnA_=>CnB_,CnC_=>BD3_);
}
